<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">订单编号</label>
            <div class="layui-input-block">
                <input type="text" name="order_sn" class="layui-input"  placeholder="请输入订单编号" value="{$row.order_sn|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户名称</label>
            <div class="layui-input-block">
                <input type="text" name="customer_id" class="layui-input"  placeholder="请输入客户ID" value="{$row.orderCustomer['name']|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">产品名称</label>
            <div class="layui-input-block">
                <input type="text" name="goods_data_id" class="layui-input"  placeholder="请输入产品id" value="{$row.orderGoods['goods_name']|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">总金额</label>
            <div class="layui-input-block">
                <input type="text" name="total_amount" class="layui-input"  placeholder="请输入total_amount" value="{$row.total_amount|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">工厂回传文件</label>
            <div class="layui-input-block layuimini-upload">
                <input name="back_files" class="layui-input layui-col-xs6" lay-verify="required" lay-reqtext="请上传工厂回传文件" placeholder="请上传工厂回传文件" value="{$row.back_files|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="back_files" data-upload-number="more" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_back_files" data-upload-select="back_files" data-upload-number="more" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">工厂成本文件</label>
            <div class="layui-input-block layuimini-upload" >
                <input type="text" name="cost_files" class="layui-input"  placeholder="请输入金额" value="{$row.cost_files[0]['amount']|default=''}">
                <input type="text" name="cost_files" class="layui-input"  placeholder="请输入名称" value="{$row.cost_files[0]['spase_name']|default=''}">

                <input name="cost_files" class="layui-input layui-col-xs6" lay-verify="required" lay-reqtext="请上传工厂回传文件" placeholder="请上传工厂回传文件" value="{$row.cost_files[0]['file_url']|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="cost_files" data-upload-number="more" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_cost_files" data-upload-select="cost_files" data-upload-number="more" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">工本费</label>
            <div class="layui-input-block">
                <input type="text" name="wage_infos" class="layui-input"  placeholder="请输入金额" value="{$row.wage_infos[0]['amount']|default=''}">
                <input type="text" name="wage_infos" class="layui-input"  placeholder="请输入备注" value="{$row.wage_infos[0]['remark']|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">返利</label>
            <div class="layui-input-block">
                <input type="text" name="rebate_infos" class="layui-input"  placeholder="请输入返利利率" value="{$row.rebate_infos[0]['rate']|default=''}">
                <input type="text" name="rebate_infos" class="layui-input"  placeholder="请输入返利金额" value="{$row.rebate_infos[0]['amount']|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">毛利</label>
            <div class="layui-input-block">
                <input type="text" name="gross_profit" class="layui-input"  placeholder="请输入毛利" value="{$row.gross_profit|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否一致</label>
            <div class="layui-input-block">
                <input type="radio" name="is_diff" value="0"   title="否" {if $row.is_diff eq 0 }checked {/if}/>
                <input type="radio" name="is_diff" value="1"  title="是" {if $row.is_diff eq 1 }checked {/if}/>

            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">差异内容</label>
            <div class="layui-input-block">

                <input type="text" name="diff_content" class="layui-input"  placeholder="请输入金额" value="{$row.diff_content[0]['amount']|default=''}">
                <input type="text" name="diff_content" class="layui-input"  placeholder="请输入内容" value="{$row.diff_content[0]['content']|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">到货日期</label>
            <div class="layui-input-block">
                <input type="text" name="arrival_time" class="layui-input"  placeholder="请输入到货日期" value="{$row.arrival_time|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">安装时间</label>
            <div class="layui-input-block">
                <input type="text" name="install_time" class="layui-input"  placeholder="请输入安装时间" value="{$row.install_time|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">安装完成时间</label>
            <div class="layui-input-block">
                <input type="text" name="finish_install_time" class="layui-input"  placeholder="请输入安装完成时间" value="{$row.finish_install_time|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">安装天数</label>
            <div class="layui-input-block">
                <input type="text" name="finish_day" class="layui-input"  placeholder="请输入安装用时天数" value="{$row.finish_day|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">剩余天数</label>
            <div class="layui-input-block">
                <input type="text" name="remain_time" class="layui-input"  placeholder="请输入剩余天数" value="{$row.remain_time|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">安装工人</label>
            <div class="layui-input-block">
                <input type="text" name="install_admin_id" class="layui-input"  placeholder="请输入安装工人姓名" value="{$row.installAdmin['nickname']|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">上传照片</label>
            <div class="layui-input-block layuimini-upload">
                <input name="upload_imgs" class="layui-input layui-col-xs6" lay-verify="required" lay-reqtext="请上传照片" placeholder="请上传照片" value="{$row.upload_imgs|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="upload_imgs" data-upload-number="more" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_upload_imgs" data-upload-select="upload_imgs" data-upload-number="more" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>

            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否阅读</label>
            <div class="layui-input-block">

                <input type="radio" name="is_read" value="1"  title="是" {if $row.is_read eq 1 }checked {/if}/>
                <input type="radio" name="is_read" value="0"   title="否" {if $row.is_read eq 0 }checked {/if}/>

            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">遗留问题</label>
            <div class="layui-input-block">

                <input type="radio" name="is_legacy" value="1"  title="是" {if $row.is_legacy eq 1 }checked {/if}/>
                <input type="radio" name="is_legacy" value="0"   title="否" {if $row.is_legacy eq 0 }checked {/if}/>

            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">遗留信息</label>
            <div class="layui-input-block">
                <input type="text" name="legacy_infos" class="layui-input"  placeholder="请输入遗留信息" value="{$row.legacy_infos[0]['spase_name']|default=''}">
            </div>

        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">安装成果</label>
            <div class="layui-input-block">
                <input type="text" name="finish_install_imgs" class="layui-input"  placeholder="请输入安装成果" value="{$row.finish_install_imgs|default=''}">
            </div>
        </div>
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">四关照片</label>-->
<!--            <div class="layui-input-block">-->
<!--                <input type="text" name="finish_close_imgs" class="layui-input"  placeholder="请输入四关照片" value="{$row.finish_close_imgs|default=''}">-->
<!--            </div>-->
<!--        </div>-->
        <div class="layui-form-item">
            <label class="layui-form-label">改有问题</label>
            <div class="layui-input-block">

                <input type="radio" name="is_rectify" value="1"  title="是" {if $row.is_rectify eq 1 }checked {/if}/>
                <input type="radio" name="is_rectify" value="0"   title="否" {if $row.is_rectify eq 0 }checked {/if}/>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">上传签收单</label>
            <div class="layui-input-block">
                <input type="text" name="sign_imgs" class="layui-input"  placeholder="请输入上传签收单" value="{$row.sign_imgs|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">服务等级</label>
            <div class="layui-input-block">
                <input type="radio" name="service_level" value="1"  title="砖石" {if $row.service_level eq 1 }checked {/if}/>
                <input type="radio" name="service_level" value="0"   title="黄金" {if $row.service_level eq 2 }checked {/if}/>
                <input type="radio" name="service_level" value="1"  title="青铜" {if $row.service_level eq 3 }checked {/if}/>
            </div>
        </div>
<!--        <div class="hr-line"></div>-->
<!--        <div class="layui-form-item text-center">-->
<!--            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>-->
<!--            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>-->
<!--        </div>-->

    </form>
</div>